package yxy.game.pm2.module.dungeon;

public enum DungeonStageState {
	未开启(0), 可挑战(1), 可扫荡(2),;

	private int number;

	private DungeonStageState(int number) {
		this.number = number;
	}

	public int getNumber() {
		return number;
	}

	static public DungeonStageState forNumber(int number) {
		switch (number) {
		case 1:
			return 可挑战;
		case 2:
			return 可扫荡;
		}
		return 未开启;
	}
}
